package jmu.cze.mapper;

import jmu.cze.pojo.Flight;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FlightMapper {
    int deleteByID(int flightID);

    int insert(Flight flight);

    Flight selectByID(int flightID);

    List<Flight> selectAll();

    int update(Flight flight);
}